You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Manual Scenario
Run UTBot test generation on your Java project
If errors have been detected (the SARIF report contains at least one) the "Problems" tool window will be automatically opened. If not, "Problems" tab will not be opened.
For each problem the user has an opportunity to view the generated test and analyze the stack trace
Double click on the problem navigates the user to the place in the source code where this problem was detected
Checklist:
The change followed the style guidelines of the UTBot project
Self-review of the code is passed
The change contains enough commentaries, particularly in hard-to-understand areas
New documentation is provided or existed one is altered
Currently executions that are stopped on AccessControlException - Disabled due to sandbox - are not added to SARIF report as errors and are not displayed on Problems tab.
Same with the tests "Disabled due to possible JVM crash".
There is a new tab opened on Problems window - each time test generations results contain problems.
Can we close the tab - if the same test class is generated?
Tabs with IDEA Inspections of code stays opened. So currently it is made just as it is designed in IDE.
That would be good to name the tabs shortly, currently 5 tabs are filling the width of the screen:
Only the first part can be changed 'UnitTestBotProfile'.
Probably we can leave just 'UnitTestBot'? word 'Profile' is added by IDEA.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The SARIF report visualizer built into the IDEA plugin
All errors detected by UnitTestBot are displayed in the "Problems" tool window automatically after the test is generated:
The user can view the generated test for each error:
The user can also analyze the stack trace of the exception:
Fixes #972
Type of Change
How Has This Been Tested?
Manual Scenario
Checklist: